package com.sunny.example.string;

import java.util.Scanner;

public class HJ52_计算字符串的编辑距离 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            String express = scanner.nextLine();

            String str2 = scanner.nextLine();

            express = "abcdefg";
            str2 = "abcdef";

            String temp = "";
            if (express.contains(str2)){
               temp = express.replace(str2,"");
            }

            System.out.print(temp.length());
        }
    }
}
